package com.yenlien.traceyun.control.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author: bigwangy@sina.com
 * @create: 2021-02-22
 * @description:
 **/

@Entity
@Table(name = "t_update_company_record")
public class UpdateCompanyRecord extends BaseEntity {

    /**
     * 变更时间
     */
    @Column(name = "datetime")
    private Date datetime;

    /**
     * 变更人
     */
    @Column(name = "person", length = 20)
    private String person;

    /**
     * 操作
     */
    @Column(name = "operation", length = 20)
    private String operation;

    /**
     * 关联公司
     */
    @Column(name = "company_id", length = 32)
    private String companyId;

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
